onCreateView

open fun onCreateView(@Nullable parent: View, @NonNull name: String, @NonNull context: Context, @NonNull attrs: AttributeSet): View(source)

Instantiates a Fragment's view.

Return

view the newly created view

Parameters

parent

The parent that the created view will be placed in; note that this may be null.

name

Tag name to be inflated.

context

The context the view is being created in.

attrs

Inflation attributes as specified in XML file.